package org.dragonnova.meetingclient.core.message;


/**
 * Created by hucn on 2016/6/2.
 * Description:
 */
public abstract class Message {

    public abstract void setAction(byte[] action);

    public abstract byte[] getAction();

    public abstract void setPacketDataLength(int data1);

    public abstract int getPacketDataLength();

    public abstract void setPacketData(byte[] data2);

    public abstract byte[] getPacketData();

    public abstract byte[] encode();

    public abstract org.dragonnova.meetingclient.core.message.Message decode(byte[] bytes);

    public abstract int totalLength();
}
